import _ from 'lodash';

export default function isLoggedIn() {
    return !_.isNil(localStorage.getItem('auth-token')) && !_.isNil(localStorage.getItem('channel'));
}